[轉]為什么group by后面不能使用別名(除MySQL)
同事工作中遇到一個問題: select count(billingdate),to_char(billingdate,'YYYYmm') month from tu_trade where ...
同事工作中遇到一個問題: select count(billingdate),to_char(billingdate,'YYYYmm') month from tu_trade where ...